//
//  TimingSetCell.h
//  GKBHouse
//
//  Created by hcy on 14-1-15.
//
//

#import <UIKit/UIKit.h>

#define kTimingTableWidth 320

#define kTimingSetCellHeight 60


@class TimingSetCell;

@protocol TimingSetCellDelegate <NSObject>

- (void)TimingSetCell:(TimingSetCell*)cell OnOff:(BOOL)state;
- (void)TimingSetCellSetting:(TimingSetCell*)cell;
- (void)TimingSetCellClear:(TimingSetCell*)cell;

@end

@interface TimingSetCell : UITableViewCell

@property (assign, nonatomic)id<TimingSetCellDelegate> delegate;

@property (retain, nonatomic)NSIndexPath *indexPath;
@property (retain, nonatomic)UIButton *onOffBtn;
@property (retain, nonatomic)UILabel *timeLabel;
@property (retain, nonatomic)UILabel *weekLabel;
@property (retain, nonatomic)UILabel *wiringLabel;
@property (retain, nonatomic)UIButton *setBtn;
@property (retain, nonatomic)UIButton *clearBtn;

@end
